package com.exigen.performance.test.webapp.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.exigen.performance.test.webapp.domain.base.BaseEntity;

/**
 * Class that represent transaction entity.
 * 
 * @author Maksim Savchuk
 * 
 */
@Entity
@Table(name = "PERF_TRANSACTIONNAME")
public class TransactionEntity extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8134202758600371042L;
	@Id
	@Column(name = "TRANSACTION_ID")
	private Long id;
	@Column(name = "TRANSACTION_TYPE_ID")
	private Long transactionTypeId;
	@Column(name = "TRANSACTION_NAME")
	private String transactionName;

	@Column(name = "SLA_VALUE")
	private String slaValue;
	@Column(name = "COMMENTS")
	private String comments;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getTransactionName() {
		return transactionName;
	}

	public void setTransactionName(String transactionName) {
		this.transactionName = transactionName;
	}

	public Long getTransactionTypeId() {
		return transactionTypeId;
	}

	public void setTransactionTypeId(Long transactionTypeId) {
		this.transactionTypeId = transactionTypeId;
	}

	public String getSlaValue() {
		return slaValue;
	}

	public void setSlaValue(String slaValue) {
		this.slaValue = slaValue;
	}

	public String getComments() {
		return comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

}
